/**
 * ****************************************************************************
 * Project: RoboBridge
 * ----------------------------------------------------------------------------
 * -------------------------- [c]2012 - KrawallMann ---------------------------
 * ---------------------- http://www.krawallmann.de.tc/ -----------------------
 * ****************************************************************************
 * File: PingListener.java Package:
 * tc.de.krawallmann.robobridge.communication.protocol Version: 1.0 Author(s):
 * KrawallMann
 * ****************************************************************************
 * Description:
 * ****************************************************************************
 */
package tc.de.krawallmann.robobridge.communication.protocol;

/**
 * The listener interface for receiving ping events. The class that is
 * interested in processing a ping event implements this interface, and the
 * object created with that class is registered with a component using the
 * component's <code>addPingListener<code> method. When
 * the ping event occurs, that object's appropriate
 * method is invoked.
 * 
 * @author KrawallMann
 * @version 1.0
 */
public interface PingListener {

	/**
	 * On ping changed.
	 * 
	 * @param newPing
	 *            the new ping
	 */
	void onPingChanged(long newPing);
}
